<article id="post-<?php the_ID(); ?>" <?php post_class('post-list'); ?>>
    <section class="post-cont">
		<h2 itemprop="entry-name" class="title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
		<!--缩略图，需设置特色图片方显示-->
		<div class="thumbnail thumb-cont">
		<?php if (has_post_thumbnail()) {?>
			<div class="thumb-margin">
			<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
			<?php the_post_thumbnail('thumbnail' ,array('alt'=> trim(strip_tags( $post->post_title )), 'title'=> trim(strip_tags( $post->post_title ))));?>
			</a> 
			</div>
		<?php } ?>
		</div>
		<!--缩略图END-->
		<!--正文摘要-->
		<div class="loop-content" itemprop="description">
			<?php if (has_excerpt()) { ?> 
					<?php the_excerpt() ?>
			<?php } else { ?>
					<p><?php echo mb_strimwidth(strip_shortcodes(strip_tags(apply_filters('the_content', $post->post_content))), 0, 300,"...");?></p>
			<?php } ?>
		</div>
		<!--标签-->
		<div class="entry-tags">
			<?php $tags_list = get_the_tag_list( '', __( ', ', 'way' ) );if ( $tags_list ) :?><?php printf( __( '%1$s', 'way' ), $tags_list ); ?><?php endif; ?>
		</div>
    </section>
	<section class="post-meta">
		<div class="li"><?php the_time('Y-m-d') ?></div>
		<div class="li"><?php if(function_exists('custom_the_views') ) custom_the_views($post->ID); ?> views</div>
	</section>
</article>